package com.haier.npt.security.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.haier.npt.security.domain.SysPermission;

/**
 * @Description:权限项dao
 * @author: lixu
 * @date:   2018年7月13日 下午2:14:02   
 */
public interface SysPermissionDao extends BaseMapper<SysPermission> {

    List<SysPermission> listPermissionByCodes(@Param("permissionCodes") List<String> permissionCodes);


    List<SysPermission> listPermissionByPId(@Param("pId") Long pId);

    List<SysPermission> listPermissionByParentCode(@Param("parentCode") String parentCode);
}
